﻿using Melee.DataContract.Messaging;

namespace Melee.Controller.Handlers
{
    public class AjaxResult
    {
        private bool m_Success = false;
        public bool Success
        {
            get { return m_Success; }
            set { m_Success = value; }
        }

        private object m_Data = null;
        public object Data
        {
            get { return m_Data; }
            set { m_Data = value; }
        }

        private string m_Message = null;
        public string Message
        {
            get { return m_Message; }
            set { m_Message = value; }
        }

        public AjaxResult() { }

        public AjaxResult(string message)
        {
            Message = message;
        }
    }
}
